﻿@using Compass.Wasm.Shared.Plans
<span class="badge
@(Status == MainPlanStatus_e.计划 ? "bg-secondary text-white" :
    Status == MainPlanStatus_e.制图 ? "bg-primary" : 
        Status == MainPlanStatus_e.生产 ? "bg-warning" : 
            Status == MainPlanStatus_e.入库 ? "bg-info" :
                Status == MainPlanStatus_e.发货 ? "bg-success" : "bg-dark")">
    @Status
</span>
@code {
    [Parameter]
    public MainPlanStatus_e Status { get; set; }
}
